import { permanentRedirect } from "next/navigation"; /** Friendly alias: // → canonical instrument page (the API resolves symbols and ids alike). */ export default async function Alias({ params }: { params: Promise<{ symbol: string }> }) { const { symbol } = await params; permanentRedirect(`/instruments/${encodeURIComponent(symbol)}`); }